package com.bishe.psy.dao;

import com.bishe.psy.model.SCL90;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SCL90Mapper {
    int insert(SCL90 row);

    int insertSelective(SCL90 row);

    SCL90 selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SCL90 row);

    int updateByPrimaryKey(SCL90 row);

    //获取用户最新测评记录
    SCL90 selectByIdNewResult(Long userId);

    //根据userId查询用户的所有测评记录
    List<SCL90> selectByUserId(Long userId);
}